This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). The current version which supercedes this version is 5.0.0.  For a full list of available versions, see the Directory of published versions 

The official URL for this profile is:
http://hl7.org/fhir/StructureDefinition/daf-encounterlist
US Realm Encounter list
This profile was published on Thu, Aug 21, 2014 00:00+1000 as a draft by Health Level Seven International (Infrastructure and Messaging - Data Access Framework).

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from List.
This structure is derived from List.
| Name | Flags | Card. | Type | Description & Constraints  | 
|---|---|---|---|---|
|   List | 0..* | List | US Realm Encounter list | |
|    identifier | S | 0..* | Identifier | |
|    mode | S | 1..1 | code | Fixed Value: snapshot | 
|    code | S | 1..1 | CodeableConcept | Fixed Value: {"coding":[{"system":"http://loinc.org","code":"46240-8"}]} | 
|    subject | S | 0..1 | Reference(DAF-Patient) | |
|    date | S | 1..1 | dateTime | |
|    source | S | 1..1 | Reference(DAF-Pract | DAF-Patient | Device) | |
|    entry | S | 0..* | BackboneElement | |
|     flag | S | 0..1 | CodeableConcept | |
|     deleted | 0..0 | |||
|     date | S | 0..1 | dateTime | |
|     item | S | 1..1 | Reference(DAF-Encounter) | |
|    emptyReason | S | 0..1 | CodeableConcept | Binding: List Empty Reasons (extensible) | 
|  Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints  | 
|---|---|---|---|---|
|   List | I | 0..* | List | US Realm Encounter list lst-2: The deleted flag can only be used if the mode of the list is "changes" lst-1: A list can only have an emptyReason if it is empty | 
|    meta | ∑ | 0..1 | Meta | Metadata about the resource | 
|    implicitRules | ?! ∑ | 0..1 | uri | A set of rules under which this content was created | 
|    language | 0..1 | code | Language of the resource content Binding: IETF BCP-47  (required) | |
|    text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation | 
|    contained | 0..* | Resource | Contained, inline Resources | |
|    extension | 0..* | Extension | Additional Content defined by implementations | |
|    modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | 
|    identifier | S | 0..* | Identifier | Business identifier | 
|    status | ?! ∑ | 1..1 | code | current | retired | entered-in-error Binding: ListStatus (required) | 
|    mode | ?! S∑ | 1..1 | code | working | snapshot | changes Binding: ListMode (required) Fixed Value: snapshot | 
|    title | ∑ | 0..1 | string | Descriptive name for the list Example: Dr. Jane's Patients | 
|    code | S ∑ | 1..1 | CodeableConcept | What the purpose of this list is Binding: Example Use Codes for List (example) Fixed Value: {"coding":[{"system":"http://loinc.org","code":"46240-8"}]} | 
|    subject | S ∑ | 0..1 | Reference(DAF-Patient) | If all resources have the same subject | 
|    encounter | 0..1 | Reference(Encounter) | Context in which list created | |
|    date | S ∑ | 1..1 | dateTime | When the list was prepared | 
|    source | S ∑ | 1..1 | Reference(DAF-Pract | DAF-Patient | Device) | Who and/or what defined the list contents (aka Author) | 
|    orderedBy | 0..1 | CodeableConcept | What order the list has Binding: List Order Codes (preferred) | |
|    note | 0..* | Annotation | Comments about the list | |
|    entry | S I | 0..* | BackboneElement | Entries in the list | 
|     extension | 0..* | Extension | Additional Content defined by implementations | |
|     modifierExtension | ?! ∑ | 0..* | Extension | Extensions that cannot be ignored | 
|     flag | S | 0..1 | CodeableConcept | Status/Workflow information about this item Binding: Patient Medicine Change Types (example) | 
|     date | S | 0..1 | dateTime | When item added to list | 
|     item | S | 1..1 | Reference(DAF-Encounter) | Actual entry | 
|    emptyReason | S I | 0..1 | CodeableConcept | Why list is empty Binding: List Empty Reasons (extensible) | 
|  Documentation for this format | ||||
todo
This structure is derived from List.
Differential View
This structure is derived from List.
| Name | Flags | Card. | Type | Description & Constraints  | 
|---|---|---|---|---|
|   List | 0..* | List | US Realm Encounter list | |
|    identifier | S | 0..* | Identifier | |
|    mode | S | 1..1 | code | Fixed Value: snapshot | 
|    code | S | 1..1 | CodeableConcept | Fixed Value: {"coding":[{"system":"http://loinc.org","code":"46240-8"}]} | 
|    subject | S | 0..1 | Reference(DAF-Patient) | |
|    date | S | 1..1 | dateTime | |
|    source | S | 1..1 | Reference(DAF-Pract | DAF-Patient | Device) | |
|    entry | S | 0..* | BackboneElement | |
|     flag | S | 0..1 | CodeableConcept | |
|     deleted | 0..0 | |||
|     date | S | 0..1 | dateTime | |
|     item | S | 1..1 | Reference(DAF-Encounter) | |
|    emptyReason | S | 0..1 | CodeableConcept | Binding: List Empty Reasons (extensible) | 
|  Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints  | 
|---|---|---|---|---|
|   List | I | 0..* | List | US Realm Encounter list lst-2: The deleted flag can only be used if the mode of the list is "changes" lst-1: A list can only have an emptyReason if it is empty | 
|    meta | ∑ | 0..1 | Meta | Metadata about the resource | 
|    implicitRules | ?! ∑ | 0..1 | uri | A set of rules under which this content was created | 
|    language | 0..1 | code | Language of the resource content Binding: IETF BCP-47  (required) | |
|    text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation | 
|    contained | 0..* | Resource | Contained, inline Resources | |
|    extension | 0..* | Extension | Additional Content defined by implementations | |
|    modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | 
|    identifier | S | 0..* | Identifier | Business identifier | 
|    status | ?! ∑ | 1..1 | code | current | retired | entered-in-error Binding: ListStatus (required) | 
|    mode | ?! S∑ | 1..1 | code | working | snapshot | changes Binding: ListMode (required) Fixed Value: snapshot | 
|    title | ∑ | 0..1 | string | Descriptive name for the list Example: Dr. Jane's Patients | 
|    code | S ∑ | 1..1 | CodeableConcept | What the purpose of this list is Binding: Example Use Codes for List (example) Fixed Value: {"coding":[{"system":"http://loinc.org","code":"46240-8"}]} | 
|    subject | S ∑ | 0..1 | Reference(DAF-Patient) | If all resources have the same subject | 
|    encounter | 0..1 | Reference(Encounter) | Context in which list created | |
|    date | S ∑ | 1..1 | dateTime | When the list was prepared | 
|    source | S ∑ | 1..1 | Reference(DAF-Pract | DAF-Patient | Device) | Who and/or what defined the list contents (aka Author) | 
|    orderedBy | 0..1 | CodeableConcept | What order the list has Binding: List Order Codes (preferred) | |
|    note | 0..* | Annotation | Comments about the list | |
|    entry | S I | 0..* | BackboneElement | Entries in the list | 
|     extension | 0..* | Extension | Additional Content defined by implementations | |
|     modifierExtension | ?! ∑ | 0..* | Extension | Extensions that cannot be ignored | 
|     flag | S | 0..1 | CodeableConcept | Status/Workflow information about this item Binding: Patient Medicine Change Types (example) | 
|     date | S | 0..1 | dateTime | When item added to list | 
|     item | S | 1..1 | Reference(DAF-Encounter) | Actual entry | 
|    emptyReason | S I | 0..1 | CodeableConcept | Why list is empty Binding: List Empty Reasons (extensible) | 
|  Documentation for this format | ||||
XML Template
JSON Template
todo
Other representations of profile: Schematron

| Path | Name | Conformance | ValueSet | 
| List.language | ?ext | required | http://tools.ietf.org/html/bcp47  | 
| List.status | ListStatus | required | ListStatus | 
| List.mode | ListMode | required | ListMode | 
| List.code | Example Use Codes for List | example | Example Use Codes for List | 
| List.orderedBy | List Order Codes | preferred | List Order Codes | 
| List.entry.flag | Patient Medicine Change Types | example | Patient Medicine Change Types | 
| List.emptyReason | List Empty Reasons | extensible | List Empty Reasons | 

| Id | Path | Details | Requirements | 
| lst-2 | List | The deleted flag can only be used if the mode of the list is "changes" XPath: (f:mode/@value = 'changes') or not(exists(f:entry/f:deleted)) | |
| lst-1 | List | A list can only have an emptyReason if it is empty XPath: not(exists(f:emptyReason) and exists(f:entry)) |